﻿using System;
using UnityEngine;
using UnityEngine.Events;

namespace Valve.VR.InteractionSystem
{
	// Token: 0x02000617 RID: 1559
	[RequireComponent(typeof(Interactable))]
	public class InteractableHoverEvents : MonoBehaviour
	{
		// Token: 0x0600277F RID: 10111 RVA: 0x000E6340 File Offset: 0x000E4540
		private void OnHandHoverBegin()
		{
			this.onHandHoverBegin.Invoke();
		}

		// Token: 0x06002780 RID: 10112 RVA: 0x000E6350 File Offset: 0x000E4550
		private void OnHandHoverEnd()
		{
			this.onHandHoverEnd.Invoke();
		}

		// Token: 0x06002781 RID: 10113 RVA: 0x000E6360 File Offset: 0x000E4560
		private void OnAttachedToHand(Hand hand)
		{
			this.onAttachedToHand.Invoke();
		}

		// Token: 0x06002782 RID: 10114 RVA: 0x000E6370 File Offset: 0x000E4570
		private void OnDetachedFromHand(Hand hand)
		{
			this.onDetachedFromHand.Invoke();
		}

		// Token: 0x04002775 RID: 10101
		public UnityEvent onHandHoverBegin;

		// Token: 0x04002776 RID: 10102
		public UnityEvent onHandHoverEnd;

		// Token: 0x04002777 RID: 10103
		public UnityEvent onAttachedToHand;

		// Token: 0x04002778 RID: 10104
		public UnityEvent onDetachedFromHand;
	}
}
